Electronic Barostat